package com.zjgk.hotel.service.impl;

import com.zjgk.hotel.dao.mapper.RoomMapper;
import com.zjgk.hotel.service.RoomService;
import com.zjgk.hotel.vo.RoomContent;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class RoomServiceImpl implements RoomService {

    @Resource
    RoomMapper roomMapper;

    @Override
    public RoomContent RoomDetails(Integer id) {
        return roomMapper.RoomContent(id);
    }
}
